package com.csf.struct.flyweight;

/**
 * 享元模式
 * Date: 2018/9/6
 * Time: 18:02
 *
 * @author chenshf
 */
public class Test {

    public static void main(String[] args) {
        ConnectionPool pool = new ConnectionPool();

        Connection connection = pool.getConnection();

        pool.release(connection);
    }
}
